import type { Config } from "tailwindcss";

const config: Config = {
  content: [
    "./pages/**/*.{js,ts,jsx,tsx,mdx}",
    "./components/**/*.{js,ts,jsx,tsx,mdx}",
    "./app/**/*.{js,ts,jsx,tsx,mdx}",
  ],
  theme: {
    extend: {
      colors: {
        background: "var(--background)",
        foreground: "var(--foreground)",
      },
      fontSize: {
        // 自定义字体大小
        h1: ["2.5rem", { lineHeight: "3rem" }], // 对应 h1
        h2: ["2rem", { lineHeight: "2.5rem" }], // 对应 h2
        h3: ["1.75rem", { lineHeight: "2.25rem" }], // 对应 h3
        h4: ["1.5rem", { lineHeight: "2rem" }], // 对应 h4
      },
    },
  },
  plugins: [],
};
export default config;
